﻿<UserControl x:Class="HomeWP.HMWeather"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="96" d:DesignWidth="450" xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit">
    
    <Grid x:Name="LayoutRoot" Height="90" Width="440" Loaded="LayoutRoot_Loaded">
        <TextBlock Name="_dispName" Text="DisplayName" VerticalAlignment="Center" FontSize="24" TextWrapping="Wrap" Margin="12,30,140,28" />
        <TextBlock HorizontalAlignment="Left" Margin="306,9,0,33" Name="_temp" Text="xx°C" FontSize="38" Width="134" FontWeight="Bold" Foreground="Lime" />
        <TextBlock Height="30" HorizontalAlignment="Left" Margin="343,53,0,0" Name="_hum" Text="xx%" VerticalAlignment="Top" Foreground="LightCoral" />
        <TextBlock Height="30" HorizontalAlignment="Left" Margin="230,60,0,0" Name="_tb1" Text="Soll:" VerticalAlignment="Top" FontSize="16" Visibility="Collapsed" />
        <TextBlock Height="30" HorizontalAlignment="Left" Margin="266,60,0,0" Name="_tb1value" Text="20°C" VerticalAlignment="Top" FontSize="16" Visibility="Collapsed" Foreground="Aquamarine" />
        <toolkit:ContextMenuService.ContextMenu>
            <toolkit:ContextMenu IsZoomEnabled="false" Margin="0,-20,0,0">
                <toolkit:MenuItem Header="Als Favorit hinzufügen" x:Name="mi_Favorit" Click="mi_Favorit_Click" />
                <toolkit:MenuItem Header="Favorit entfernen" x:Name="mi_DelFavorit" Click="mi_DelFavorit_Click" />
                <!--    <toolkit:MenuItem Header="Auf Startseite anheften" x:Name="mi_Pin" Click="MenuItem2_Click" />-->
            </toolkit:ContextMenu>
        </toolkit:ContextMenuService.ContextMenu>
    </Grid>
</UserControl>
